package com.aios.service;

import java.util.List;

import com.aios.entity.Timer;
import com.aios.entity.mapper.TimerSetting;
import com.aios.entity.mapper.TimerSwitch;

public interface TimerService extends GenericService<Timer, String>, PaginatedService {

	TimerSetting findByIdWithSchedule(String id);
	List<TimerSwitch> findTimerByUserId(String id);
	int findDaySchedule(TimerSetting timerSetting, List<Integer> dayList,String uid);
	int addNewDays(String id, List<Integer> dyList);
	int save(Timer entity, String userId, Byte status);

}
